package com.ilink.teacherservice.service.bailian;


/**
 * <h3>new-ilink-java-backend</h3>
 *
 * @Description
 * @Author pengshiyao
 * @Date 2024-09-16 16:27
 **/
import com.aliyun.bailian20231229.models.RetrieveResponse;

public interface RetrieveService {
    RetrieveResponse retrieve(com.aliyun.bailian20231229.Client client, String query, Integer denseSimilarityTopK, Boolean enableReranking, Boolean enableRewrite, String rerankModelName,
        Float rerankMinScore, Integer rerankTopN, String rewriteModelName, Integer sparseSimilarityTopK, String indexId,
        String workspaceId, Boolean saveRetrieverHistory) throws Exception;
    RetrieveResponse retrieve(com.aliyun.bailian20231229.Client client, String query, String indexId, String workspaceId) throws Exception;
}